<h2>Why is this an issue?</h2>
<p>Jump statements, such as <code>return</code>, <code>yield break</code>, <code>goto</code>, and <code>continue</code> are used to change the normal
flow of execution in a program. However, redundant jump statements can make code difficult to read and maintain.</p>
<h3>Noncompliant code example</h3>
<pre>
void Foo()
{
  goto A; // Noncompliant
  A:
  while (condition1)
  {
    if (condition2)
    {
      continue; // Noncompliant
    }
    else
    {
      DoTheThing();
    }
  }
  return; // Noncompliant; this is a void method
}
</pre>
<h3>Compliant solution</h3>
<pre>
void Foo()
{
  while (condition1)
  {
    if (!condition2)
    {
      DoTheThing();
    }
  }
}
</pre>
<h3>Exceptions</h3>
<ul>
  <li> <code>return</code> statements followed by a local function declaration are not considered redundant, as they help with readability. </li>
</ul>

